/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.cnam.mobileShopping.entity;

/**
 *
 * @author Administrateur
 */
public class Constants {
    public enum statusUser{
        OWNER("1"), COLLAB("2");
        
        public final String value;
        public final short id;

        public short getId() {
            return id;
        }

        public String getValue() {
            return value;
        }
        
        private statusUser(String id) {
            this.id = new Short(id);
            this.value = "";
        }
    }
    
     public enum statusList{
        EDITABLE("1"), ENCOURSCOURSE("2");
        
        public final String value;
        public final short id;

        public short getId() {
            return id;
        }

        public String getValue() {
            return value;
        }
        
        private statusList(String id) {
            this.id = new Short(id);
            this.value = "";
        }
    }
     
    public enum statusProductInList{
        NOTBUILD("1"), BUILD("2");
        
        public final String value;
        public final short id;

        public int getId() {
            return id;
        }

        public String getValue() {
            return value;
        }
        
        private statusProductInList(String id) {
            this.id = new Short(id);
            this.value = "";
        }
    }
     
}
